package com.svms.save.entitys;

import java.io.Serializable;

/**
 * @author 
 */
public class SvdaYhb implements Serializable {
    /**
     * 主键序列
     */
    private Long objectid;

    /**
     * 用户名
     */
    private String yhm;

    /**
     * 姓名
     */
    private String xm;

    /**
     * 手机号码
     */
    private String sjhm;

    /**
     * 身份证号码
     */
    private String sfzh;

    /**
     * 职务
     */
    private String zw;

    /**
     * 用户基础角色
     */
    private String jcjs;

    /**
     * 登录密码
     */
    private String dlmm;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作标示
     */
    private String czbs;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作单位
     */
    private String czdw;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getYhm() {
        return yhm;
    }

    public void setYhm(String yhm) {
        this.yhm = yhm;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getSjhm() {
        return sjhm;
    }

    public void setSjhm(String sjhm) {
        this.sjhm = sjhm;
    }

    public String getSfzh() {
        return sfzh;
    }

    public void setSfzh(String sfzh) {
        this.sfzh = sfzh;
    }

    public String getZw() {
        return zw;
    }

    public void setZw(String zw) {
        this.zw = zw;
    }

    public String getJcjs() {
        return jcjs;
    }

    public void setJcjs(String jcjs) {
        this.jcjs = jcjs;
    }

    public String getDlmm() {
        return dlmm;
    }

    public void setDlmm(String dlmm) {
        this.dlmm = dlmm;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzdw() {
        return czdw;
    }

    public void setCzdw(String czdw) {
        this.czdw = czdw;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaYhb other = (SvdaYhb) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getYhm() == null ? other.getYhm() == null : this.getYhm().equals(other.getYhm()))
            && (this.getXm() == null ? other.getXm() == null : this.getXm().equals(other.getXm()))
            && (this.getSjhm() == null ? other.getSjhm() == null : this.getSjhm().equals(other.getSjhm()))
            && (this.getSfzh() == null ? other.getSfzh() == null : this.getSfzh().equals(other.getSfzh()))
            && (this.getZw() == null ? other.getZw() == null : this.getZw().equals(other.getZw()))
            && (this.getJcjs() == null ? other.getJcjs() == null : this.getJcjs().equals(other.getJcjs()))
            && (this.getDlmm() == null ? other.getDlmm() == null : this.getDlmm().equals(other.getDlmm()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzdw() == null ? other.getCzdw() == null : this.getCzdw().equals(other.getCzdw()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getYhm() == null) ? 0 : getYhm().hashCode());
        result = prime * result + ((getXm() == null) ? 0 : getXm().hashCode());
        result = prime * result + ((getSjhm() == null) ? 0 : getSjhm().hashCode());
        result = prime * result + ((getSfzh() == null) ? 0 : getSfzh().hashCode());
        result = prime * result + ((getZw() == null) ? 0 : getZw().hashCode());
        result = prime * result + ((getJcjs() == null) ? 0 : getJcjs().hashCode());
        result = prime * result + ((getDlmm() == null) ? 0 : getDlmm().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzdw() == null) ? 0 : getCzdw().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", yhm=").append(yhm);
        sb.append(", xm=").append(xm);
        sb.append(", sjhm=").append(sjhm);
        sb.append(", sfzh=").append(sfzh);
        sb.append(", zw=").append(zw);
        sb.append(", jcjs=").append(jcjs);
        sb.append(", dlmm=").append(dlmm);
        sb.append(", czsj=").append(czsj);
        sb.append(", czbs=").append(czbs);
        sb.append(", czr=").append(czr);
        sb.append(", czdw=").append(czdw);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}